package com.hydl.power.pojo;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 *
 * create by mybatis-generator
 * power_device
 */
@Data
public class PowerDevice implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 区域id
     */
    private String areaId;

    /**
     * 区域名字
     */
    private String areaName;

    /**
     * 单位项目id
     */
    private String projectId;

    /**
     * 单位名字
     */
    private String navId;

    /**
     * 配电房Id
     */
    private String powerRoomId;

    /**
     * 配电房全称
     */
    private String powerRoomName;

    /**
     * 设备地址
     */
    private String deviceAddress;

    /**
     * 设备类型
     */
    private Integer deviceType;

    /**
     * 设备属性
     */
    private String deviceProperty;

    /**
     * IEMI
     */
    private String iemi;

    /**
     * 通讯IP
     */
    private String espIp;

    /**
     * 是否启用  1 启用 2不启用
     */
    private Integer flag;

    /**
     * 设备序列号
     */
    private String serialNumber;

    /**
     * 设备安全天数
     */
    private Date deviceTime;

    /**
     * 网关sn
     */
    private String gatewaySn;

    /**
     * 设备通讯地址
     */
    private String deviceMessageAddress;

    /**
     * 公共地址
     */
    private String commonalityDdress;

    /**
     * 通道
     */
    private String aisle;

    /**
     */
    private String tableName;

    /**
     * 1 开始断电告警  2关闭断电告警
     */
    private Integer alarmStatus;

    /**
     * 1在线2离线
     */
    private Integer communicationStatus;

    /**
     * 告警判断
     */
    private Integer alarm;

    /**
     * a相电流
     */
    private String ia;

    /**
     * b相电流
     */
    private String ib;

    /**
     * c相电流
     */
    private String ic;

    /**
     * a相电压
     */
    private Float ua;

    /**
     * b相电压
     */
    private Float ub;

    /**
     * c相电压
     */
    private Float uc;

    /**
     * 电压Uab
     */
    private Float uab;

    /**
     * 电压Ubc
     */
    private Float ubc;

    /**
     * 电压Uca
     */
    private Float uca;

    /**
     * 1:照明 2：消防 3：电梯 4：动力  5：商业配电 6：公用 7：空调 8：办公 9：其他
     */
    private Integer typeId;

    /**
     * 1变压器   2回路
     */
    private Integer transformerStatus;

    /**
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    public String getNavId() {
        return navId;
    }

    public void setNavId(String navId) {
        this.navId = navId == null ? null : navId.trim();
    }

    public String getPowerRoomId() {
        return powerRoomId;
    }

    public void setPowerRoomId(String powerRoomId) {
        this.powerRoomId = powerRoomId == null ? null : powerRoomId.trim();
    }

    public String getPowerRoomName() {
        return powerRoomName;
    }

    public void setPowerRoomName(String powerRoomName) {
        this.powerRoomName = powerRoomName == null ? null : powerRoomName.trim();
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public void setDeviceAddress(String deviceAddress) {
        this.deviceAddress = deviceAddress == null ? null : deviceAddress.trim();
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceProperty() {
        return deviceProperty;
    }

    public void setDeviceProperty(String deviceProperty) {
        this.deviceProperty = deviceProperty == null ? null : deviceProperty.trim();
    }

    public String getIemi() {
        return iemi;
    }

    public void setIemi(String iemi) {
        this.iemi = iemi == null ? null : iemi.trim();
    }

    public String getEspIp() {
        return espIp;
    }

    public void setEspIp(String espIp) {
        this.espIp = espIp == null ? null : espIp.trim();
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }

    public Date getDeviceTime() {
        return deviceTime;
    }

    public void setDeviceTime(Date deviceTime) {
        this.deviceTime = deviceTime;
    }

    public String getGatewaySn() {
        return gatewaySn;
    }

    public void setGatewaySn(String gatewaySn) {
        this.gatewaySn = gatewaySn == null ? null : gatewaySn.trim();
    }

    public String getDeviceMessageAddress() {
        return deviceMessageAddress;
    }

    public void setDeviceMessageAddress(String deviceMessageAddress) {
        this.deviceMessageAddress = deviceMessageAddress == null ? null : deviceMessageAddress.trim();
    }

    public String getCommonalityDdress() {
        return commonalityDdress;
    }

    public void setCommonalityDdress(String commonalityDdress) {
        this.commonalityDdress = commonalityDdress == null ? null : commonalityDdress.trim();
    }

    public String getAisle() {
        return aisle;
    }

    public void setAisle(String aisle) {
        this.aisle = aisle == null ? null : aisle.trim();
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public Integer getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(Integer alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public Integer getCommunicationStatus() {
        return communicationStatus;
    }

    public void setCommunicationStatus(Integer communicationStatus) {
        this.communicationStatus = communicationStatus;
    }

    public Integer getAlarm() {
        return alarm;
    }

    public void setAlarm(Integer alarm) {
        this.alarm = alarm;
    }

    public String getIa() {
        return ia;
    }

    public void setIa(String ia) {
        this.ia = ia == null ? null : ia.trim();
    }

    public String getIb() {
        return ib;
    }

    public void setIb(String ib) {
        this.ib = ib == null ? null : ib.trim();
    }

    public String getIc() {
        return ic;
    }

    public void setIc(String ic) {
        this.ic = ic == null ? null : ic.trim();
    }

    public Float getUa() {
        return ua;
    }

    public void setUa(Float ua) {
        this.ua = ua;
    }

    public Float getUb() {
        return ub;
    }

    public void setUb(Float ub) {
        this.ub = ub;
    }

    public Float getUc() {
        return uc;
    }

    public void setUc(Float uc) {
        this.uc = uc;
    }

    public Float getUab() {
        return uab;
    }

    public void setUab(Float uab) {
        this.uab = uab;
    }

    public Float getUbc() {
        return ubc;
    }

    public void setUbc(Float ubc) {
        this.ubc = ubc;
    }

    public Float getUca() {
        return uca;
    }

    public void setUca(Float uca) {
        this.uca = uca;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getTransformerStatus() {
        return transformerStatus;
    }

    public void setTransformerStatus(Integer transformerStatus) {
        this.transformerStatus = transformerStatus;
    }
}